﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Shared_invite : System.Web.UI.Page
{
    public Tuan.Model.Products productInfo = new Tuan.Model.Products();
    public Tuan.Model.UserInfo userInfo = new Tuan.Model.UserInfo();
    protected void Page_Load(object sender, EventArgs e)
    {
        userInfo = (new Tuan.BLL.UserInfo()).GetModelByCache(User.Identity.Name);
        if (Request["key"] != null)
        {
            productInfo = (new Tuan.BLL.Products()).GetModelByCache(int.Parse(Request["key"]));
            if (productInfo == null)
                productInfo = new Tuan.Model.Products();
            //<script type="text/javascript">alert("商品已下架");window.close();</script>
        }
       
    }
}
